<?php

return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=actor',
            'username' => 'actor',
            'password' => 'Re971bxZ1^wc5wX7#7f54tNy61N3',
            'charset' => 'utf8mb4',
            'tablePrefix' => 'ac_',
            'enableSchemaCache' => true,
            'schemaCacheDuration' => 3600,
        ],
        'security' => [
            'public_key' => 'ZDwJ662qLL&#$N&C',
            'secret_key' => md5('key'),
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
        ],
        'alioss' => [
            'accessKeyId' => 'LTAI4GEzgEGtGBNCrs99eKFV',
            'accessKeySecret' => '5rm69QeXSFylCZPxsLeh8fD56lAexL',
            'endpoint' => 'https://oss-cn-hangzhou-internal.aliyuncs.com',
            'bucket' => 'togetheractor',
            'host' => 'http://togetheractor.oss-cn-hangzhou.aliyuncs.com',
        ],
        'alists' => [
            'accessKeyId' => 'LTAI4GEzgEGtGBNCrs99eKFV',
            'accessKeySecret' => '5rm69QeXSFylCZPxsLeh8fD56lAexL',
            'endpoint' => 'https://oss-cn-hangzhou-internal.aliyuncs.com',
            'bucket' => 'togetheractor',
            'host' => 'http://togetheractor.oss-cn-hangzhou.aliyuncs.com',
            'roleArn' => 'acs:ram::1500491105555915:role/oss',
        ],
    ],
];
